package com.xishu.to.foodpanda;

import io.swagger.annotations.ApiModelProperty;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface FoodPandaAnnotation {
    @ApiModelProperty(value = "该字段不管是什么类型，均转化成字符串处理") public boolean fieldToString() default false;

    @ApiModelProperty(value = "是否要添加DI到MAP里面") public boolean addId() default false;

    @ApiModelProperty(value = "list转化成单个对象") public boolean listToObject() default false;
}
